﻿using System.Configuration;

namespace ExcelAutomator.Configuration.Internal
{
	internal class ExcelAutomatorSection : ConfigurationSection
	{
		[ConfigurationProperty("excelParameterPatternMappings")]
		[ConfigurationCollection(typeof(ParameterMappingCollection),
			AddItemName = "add")]
		public ParameterMappingCollection ParameterMappings
		{
			get 
			{
				var collection = (ParameterMappingCollection) base["excelParameterPatternMappings"];
				return collection;
			}
		}
	}
}
